package com.qiaoba.module.system.entity.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 菜单 查询参数
 *
 * @author ailanyin
 * @date 2023-09-10 12:08:57
 */
@Getter
@Setter
public class SysMenuParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "菜单名称")
    @Size(max = 30, message = "菜单名称不能超过{max}个字符")
    private String menuName;

    @Schema(description = "显示状态（0隐藏 1显示）")
    @Size(max = 1, message = "显示状态不能超过{max}个字符")
    private String isVisible;

}
